package one.bugu.zookeeper.rpc.framework.annotations;

import one.bugu.zookeeper.rpc.framework.aspect.ClientAspect;
import one.bugu.zookeeper.rpc.framework.config.RpcConfig;
import one.bugu.zookeeper.rpc.framework.service.RpcServiceConfiguration;
import one.bugu.zookeeper.rpc.framework.zookeeper.ZookeeperConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * Created with IntelliJ IDEA.
 * User: LangK
 * Created Date 2019/2/11
 * Time: 15:04
 * Description:
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import({RpcConfig.class, ClientAspect.class})
@EnableConfigurationProperties({RpcServiceConfiguration.class,
        ZookeeperConfiguration.class})
public @interface RpcEnable {
}
